/**
 * Created by Administrator on 2017/2/12.
 */
public class Point {
    public int x;
    public int y;
    public Point(int x, int y) {
        this.x = x;
        this.y = y;
    }
    public static void process(final Point p) {
        p.x = 3;
        p.y = 5;

    }

    public static void process1(final int i) {
//         i=1;  //error
      }


    public static void main(String[] args) {
        Point p = new Point(1, 2);
        System.out.println("Point is :" + p.x + " " + p.y);
        process(p);
        System.out.println("Point is :" + p.x + " " + p.y);

    Boolean flag = false;
    if (flag = true) {
        System.out.println("true");
    } else {
        System.out.println("false");
    }


        String str1= "a" +"b";
        String str2= "ab";
        System.out.print(str1==str2);
    }
}
